<script setup lang="ts">
import { message } from "ant-design-vue";
import { PageContainer } from "@ant-design-vue/pro-layout";
import { Button } from "ant-design-vue";
import HelloWorld from "../components/HelloWorld.vue";

const handleClick = (e: MouseEvent) => {
  message.info("BackHome button clicked!");
}

</script>
<template>
  <PageContainer title="首页">
    <template #content>
      <Button @click="handleClick">测试</Button>
      <HelloWorld msg="hello wrold!" />
    </template>
  </PageContainer>
</template>

